package com.xf.common.core.entity.dmp;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xf.common.core.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
*@author JoeyLiu
*@create 2022-04-20 16:40
*/

/**
 * 后台用户和角色关系表
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DmpAuthUserRoleRelation extends BaseEntity implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long organizationId;


    @JsonSerialize(using = ToStringSerializer.class)
    private Long roleId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

}